﻿using System;

namespace Silversocial.Client.Modules
{
    public class ValidateUserCompletedEventArgs : EventArgs
    {
        public ValidateUserCompletedEventArgs(bool successful)
        {
            this.Successful = successful;
        }

        public bool Successful { get; set; }
    }

    public interface ILoginDataProvider
    {
        event EventHandler<ValidateUserCompletedEventArgs> ValidateUserCompleted;
        void ValidateUser(User user);
    }
}
